using System;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
public sealed class frmBlackList : Form
{
	private IContainer icontainer_0;
	private Button btnCancel;
	private Button btnOK;
	private TextBox txtDescription;
	private TextBox txtAddress;
	private Label label5;
	private Label label3;
	private TextBox txtPlateNumber;
	private Label label2;
	private Label label1;
	private TextBox txtName;
	private string string_0 = string.Empty;
	private string string_1 = string.Empty;
	private string string_2 = string.Empty;
	private string string_3 = string.Empty;
	private bool bool_0;
	public frmBlackList()
	{
		this.InitializeComponent();
	}
	protected override void Dispose(bool disposing)
	{
		if (disposing && this.icontainer_0 != null)
		{
			this.icontainer_0.Dispose();
		}
		base.Dispose(disposing);
	}
	private void InitializeComponent()
	{
        this.btnCancel = new System.Windows.Forms.Button();
        this.btnOK = new System.Windows.Forms.Button();
        this.txtDescription = new System.Windows.Forms.TextBox();
        this.txtAddress = new System.Windows.Forms.TextBox();
        this.label5 = new System.Windows.Forms.Label();
        this.label3 = new System.Windows.Forms.Label();
        this.txtPlateNumber = new System.Windows.Forms.TextBox();
        this.label2 = new System.Windows.Forms.Label();
        this.label1 = new System.Windows.Forms.Label();
        this.txtName = new System.Windows.Forms.TextBox();
        this.SuspendLayout();
        // 
        // btnCancel
        // 
        this.btnCancel.Location = new System.Drawing.Point(390, 245);
        this.btnCancel.Margin = new System.Windows.Forms.Padding(4);
        this.btnCancel.Name = "btnCancel";
        this.btnCancel.Size = new System.Drawing.Size(100, 34);
        this.btnCancel.TabIndex = 33;
        this.btnCancel.Text = "Hủy bỏ";
        this.btnCancel.UseVisualStyleBackColor = true;
        this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
        // 
        // btnOK
        // 
        this.btnOK.Enabled = false;
        this.btnOK.Location = new System.Drawing.Point(281, 246);
        this.btnOK.Margin = new System.Windows.Forms.Padding(4);
        this.btnOK.Name = "btnOK";
        this.btnOK.Size = new System.Drawing.Size(100, 34);
        this.btnOK.TabIndex = 32;
        this.btnOK.Text = "Đồng ý";
        this.btnOK.UseVisualStyleBackColor = true;
        this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
        // 
        // txtDescription
        // 
        this.txtDescription.Location = new System.Drawing.Point(85, 148);
        this.txtDescription.Margin = new System.Windows.Forms.Padding(4);
        this.txtDescription.Multiline = true;
        this.txtDescription.Name = "txtDescription";
        this.txtDescription.Size = new System.Drawing.Size(405, 80);
        this.txtDescription.TabIndex = 4;
        // 
        // txtAddress
        // 
        this.txtAddress.Location = new System.Drawing.Point(85, 96);
        this.txtAddress.Margin = new System.Windows.Forms.Padding(4);
        this.txtAddress.Name = "txtAddress";
        this.txtAddress.Size = new System.Drawing.Size(405, 22);
        this.txtAddress.TabIndex = 3;
        // 
        // label5
        // 
        this.label5.AutoSize = true;
        this.label5.Location = new System.Drawing.Point(16, 147);
        this.label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
        this.label5.Name = "label5";
        this.label5.Size = new System.Drawing.Size(52, 16);
        this.label5.TabIndex = 27;
        this.label5.Text = "Ghi chú";
        // 
        // label3
        // 
        this.label3.AutoSize = true;
        this.label3.Location = new System.Drawing.Point(16, 98);
        this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
        this.label3.Name = "label3";
        this.label3.Size = new System.Drawing.Size(48, 16);
        this.label3.TabIndex = 25;
        this.label3.Text = "Địa chỉ";
        // 
        // txtPlateNumber
        // 
        this.txtPlateNumber.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
        this.txtPlateNumber.Location = new System.Drawing.Point(85, 18);
        this.txtPlateNumber.Margin = new System.Windows.Forms.Padding(4);
        this.txtPlateNumber.Name = "txtPlateNumber";
        this.txtPlateNumber.Size = new System.Drawing.Size(288, 22);
        this.txtPlateNumber.TabIndex = 1;
        this.txtPlateNumber.TextChanged += new System.EventHandler(this.txtPlateNumber_TextChanged);
        // 
        // label2
        // 
        this.label2.AutoSize = true;
        this.label2.Location = new System.Drawing.Point(16, 60);
        this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
        this.label2.Name = "label2";
        this.label2.Size = new System.Drawing.Size(53, 16);
        this.label2.TabIndex = 22;
        this.label2.Text = "Họ Tên";
        // 
        // label1
        // 
        this.label1.AutoSize = true;
        this.label1.Location = new System.Drawing.Point(16, 22);
        this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
        this.label1.Name = "label1";
        this.label1.Size = new System.Drawing.Size(53, 16);
        this.label1.TabIndex = 21;
        this.label1.Text = "Biển số";
        // 
        // txtName
        // 
        this.txtName.Location = new System.Drawing.Point(85, 60);
        this.txtName.Name = "txtName";
        this.txtName.Size = new System.Drawing.Size(288, 22);
        this.txtName.TabIndex = 2;
        // 
        // frmBlackList
        // 
        this.BackColor = System.Drawing.SystemColors.Control;
        this.ClientSize = new System.Drawing.Size(500, 292);
        this.Controls.Add(this.txtName);
        this.Controls.Add(this.btnCancel);
        this.Controls.Add(this.btnOK);
        this.Controls.Add(this.txtDescription);
        this.Controls.Add(this.txtAddress);
        this.Controls.Add(this.label5);
        this.Controls.Add(this.label3);
        this.Controls.Add(this.txtPlateNumber);
        this.Controls.Add(this.label2);
        this.Controls.Add(this.label1);
        this.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
        this.Margin = new System.Windows.Forms.Padding(4);
        this.Name = "frmBlackList";
        this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
        this.Text = "Thông tin xe";
        this.Load += new System.EventHandler(this.frmBlackList_Load);
        this.ResumeLayout(false);
        this.PerformLayout();

	}
	public string method_0()
	{
		return this.string_0;
	}
	public void method_1(string string_4)
	{
		this.string_0 = string_4;
	}
	public string method_2()
	{
		return this.string_1;
	}
	public void method_3(string string_4)
	{
		this.string_1 = string_4;
	}
	public string method_4()
	{
		return this.string_2;
	}
	public void method_5(string string_4)
	{
		this.string_2 = string_4;
	}
	public string method_6()
	{
		return this.string_3;
	}
	public void method_7(string string_4)
	{
		this.string_3 = string_4;
	}
	public bool method_8()
	{
		return this.bool_0;
	}
	public void method_9(bool bool_1)
	{
		this.bool_0 = bool_1;
	}
	private void frmBlackList_Load(object sender, System.EventArgs e)
	{
		this.txtPlateNumber.Text = this.string_0;
		this.txtName.Text = this.string_1;
		this.txtAddress.Text = this.string_2;
		this.txtDescription.Text = this.string_3;
		if (this.txtPlateNumber.Text == string.Empty)
		{
			this.btnOK.Enabled = false;
		}
		if (this.bool_0)
		{
			this.txtAddress.ReadOnly = true;
			this.txtDescription.ReadOnly = true;
			this.txtName.ReadOnly = true;
			this.txtPlateNumber.ReadOnly = true;
			this.btnOK.Enabled = false;
			this.btnCancel.Enabled = false;
		}
	}
	private void btnOK_Click(object sender, System.EventArgs e)
	{
		this.string_0 = this.txtPlateNumber.Text;
		this.string_1 = this.txtName.Text;
		this.string_2 = this.txtAddress.Text;
		this.string_3 = this.txtDescription.Text;
		base.DialogResult = DialogResult.OK;
		base.Close();
	}
	private void btnCancel_Click(object sender, System.EventArgs e)
	{
		base.Close();
	}
	private void txtPlateNumber_TextChanged(object sender, System.EventArgs e)
	{
		if (this.txtPlateNumber.Text != string.Empty)
		{
			this.btnOK.Enabled = true;
			return;
		}
		this.btnOK.Enabled = false;
	}
}
